﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AssemblingComputer
{
    public class Computer
    {
        private readonly ICPU _cPU;
        private readonly IMonitor _monitor;

        public Computer(ICPU cPU, Monitors monitor)
        {
            _cPU = cPU;
            _monitor = monitor;
        }

        public void MyComputer()
        {
            _cPU.Output();
            _monitor.Output();
        }
    }
}